package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class VoucherOrder {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 订单号（非主键id）
     */
    private Long orderNo;
    /**
     * 用户id
     */
    private Integer userId;

    private long voucherId;
    private Integer orderStatus;

}
